<div class="panel panel-default panel-intro">
    <div class="row">
        <div class="col-md-12">
            <div class="alert alert-warning" role="alert">
                <div class="container">
                    <p>今日应报总人数 {$allcount} 人，其中已上报 {$reportedcount} 人，未上报 {$notreportedallcount} 人。</p>
                </div>
            </div>
        </div>
    </div>
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <!--<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('student/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
                        <!--<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('student/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
                        <!--<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('student/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->

                        
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('student/edit')}" 
                           data-operate-del="{:$auth->check('student/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>


<script id="searchformtpl" type="text/html">
    <form class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" novalidate="" method="post" action="">
        <fieldset>
            <div class="form-inline" data-toggle="cxselect" data-selects="year_,second">
                {php}
                if($is_class!=1){
                {/php}
                <div class="form-group col-xs-3 col-sm-3 col-md-3 col-lg-3">
                    <label class="control-label">{:__('选择班级：')}</label>
                    <select class="year_ form-control operate" id="year_" name="year_" data-url="years/indexsearch" data-query-name="year_">
                    </select>
                    <select class="second form-control operate" id="classes_id" name="classes_id" data-url="classes/indexsearch" data-query-name="year_">
                    </select>
                </div>

                {php}
                }
                {/php}
                <div class="col-xs-3 col-sm-3 col-md-3">
                    <div class="form-group">
                        <label class="control-label">未上报日期：</label>
                        <input type="text" class="form-control datetimerange" name="create_time" value="{$today}" placeholder="上报时间" id="create_time" data-index="23">
                    </div>
                </div>

                <div class="form-group col-xs-4 col-sm-4 col-md-4 col-lg-4">
                    <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                    <button type="reset" class="btn btn-default">重置</button>
                </div>
            </div>
        </fieldset>
    </form>
</script>